home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1990-12-11 | 2.4 KB | 98 lines |
- ' It's Alwite program routine
- '
- ' By
- '
- ' Graham Stephenson
- ' (aka HAWK/ZIRCON)
- '
- ' Please note that this code is entirely my own, I have not knicked it from
- ' anywhere! If you wish to use this code elsewhere, then all I ask is that
- ' you get permission from me first. I won't not let you use it, I just want
- ' to know where my stuff is being used!
- '
-
- Dim NAME$(20),HANDLE$(20),GROUP$(20),STATUS(20)
-
- Screen Open 0,640,200,2,Hires
- Colour 1,$FFF
-
- For T=1 To 20
- Read NAME$(T),HANDLE$(T),GROUP$(T)
- Next T
- Data "Graham Stephenson","Hawk","Zircon"
- Data "L. Gears","Gears","Zircon"
- Data "Phil Shotton","Shot","Zircon"
- Data "","",""
- Data "Zex","Frank Henneuse","Zircon"
- Data "Graham Stephenson","Hawk","Zircon"
- Data "L. Gears","Gears","Zircon"
- Data "","",""
- Data "Cosmic","Peter Davidson","Zircon"
- Data "Zex","Frank Henneuse","Zircon"
- Data "","",""
- Data "L. Gears","Gears","Zircon"
- Data "Shot","Phil Shotton","Zircon"
- Data "Cosmic","Peter Davidson","Zircon"
- Data "Zex","Frank Henneuse","Zircon"
- Data "Graham Stephenson","Hawk","Zircon"
- Data "","",""
- Data "Shot","Phil Shotton","Zircon"
- Data "Cosmic","Peter Davidson","Zircon"
- Data "Zex","Frank Henneuse","Zircon"
-
- Reserve Zone 20
- For T=1 To 20
- If Len(NAME$(T))>0
- Wind Open T,0,T*8,76,1
- Print NAME$(T);
- Set Zone T,0,T*8 To 640,(T+1)*8
- End If
- Next T
- Curs Off
-
- Do
- X=Hzone(X Mouse,Y Mouse)
- If X=0 Then XOLD=0
- If X>0 and XOLD<>X
- Window X
- Inverse On
- Clw
- STATUS(X)=1
- Set Curs L0,L0,L0,L0,L0,L0,L0,L0
- Print NAME$(X);
- XOLD=X
- End If
-
- For N=1 To 20
- If STATUS(N)=1 and N<>X
- Window N
- Inverse Off
- Clw
- Set Curs L0,L0,L0,L0,L0,L0,L0,L0
- Print NAME$(N);
- Curs Off
- STATUS(N)=0
- End If
- Next N
-
- If Mouse Key=1 and X<>0
- Screen Open 2,640,200,2,Hires
- Cls 0
- Print "Information on: ";HANDLE$(X)
- Print
- Print "Real Name: ";NAME$(X)
- Print
- Print "Group Name: ";GROUP$(X)
- Print
- Print "Press a key to continue ... "
- Curs Off
- Wait Key
- Screen Close 2
- End If
- Loop
-
- ' This is the end! A quite small program really. Please note, that when the
- ' mouse is clicked, you could be running an external program, loading a new
- ' music module, choosing a database item ...
-
- ' Graham Stephenson 11-12-92